# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=sord
pkgver=0.16.8
pkgrel=0
pkgdesc="C library for storing RDF data in memory"
url="http://drobilla.net/software/sord"
arch="all"
license="ISC"
makedepends="python3 pcre-dev serd-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.drobilla.net/sord-$pkgver.tar.bz2"

build() {
	python3 waf configure --prefix=/usr --test
	python3 waf build
}

check() {
	python3 waf test
}

package() {
	python3 waf install --destdir="$pkgdir"
}

sha512sums="24ed50de8e5bb321e557bac6d3e441b2ed49adabf828bf0e1b33a080c89306dde80443dc8b563098fcc184c4d6e53b7e716b523ddccdf56d08301d1b0120f2b2  sord-0.16.8.tar.bz2"
